package tbdp.tool.format;

import tbdp.tool.common.ColumnDesc;
import tbdp.tool.common.Record;

/**
 * @author xbkaishui
 * @version $Id: Formatter.java, v 0.1 2017-06-18 下午12:47 xbkaishui Exp $$
 */
public abstract class Formatter<T> {

    /**
     * 输出格式化, csv avor parquet etc
     */
    public abstract <T> T format(ColumnDesc[] header, Record record);

    public abstract String getType();

}
